[INFO] cloning repository https://github.com/Richard-collab/rust-kook
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Richard-collab/rust-kook" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRichard-collab%2Frust-kook", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRichard-collab%2Frust-kook'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e69fccd30ae85a3cb6482251dbf93785a0c7d96c
[INFO] fixing Richard-collab/rust-kook against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRichard-collab%2Frust-kook" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Richard-collab/rust-kook
[INFO] finished tweaking git repo https://github.com/Richard-collab/rust-kook
[INFO] tweaked toml for git repo https://github.com/Richard-collab/rust-kook written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Richard-collab/rust-kook on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Richard-collab/rust-kook already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded clap_builder v4.5.48
[INFO] [stderr]   Downloaded windows-targets v0.53.4
[INFO] [stderr]   Downloaded clap v4.5.48
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] a48055d2c02504429d763e878d5c5a898ac730e3981656793f7e2872947a0977
[INFO] running `Command { std: "docker" "start" "a48055d2c02504429d763e878d5c5a898ac730e3981656793f7e2872947a0977", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a48055d2c02504429d763e878d5c5a898ac730e3981656793f7e2872947a0977" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a48055d2c02504429d763e878d5c5a898ac730e3981656793f7e2872947a0977", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a48055d2c02504429d763e878d5c5a898ac730e3981656793f7e2872947a0977" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]     Checking anstream v0.6.20
[INFO] [stderr]     Checking clap_builder v4.5.48
[INFO] [stderr]     Checking clap v4.5.48
[INFO] [stderr]     Checking kook-sdk v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: cannot find derive macro `Parser` in this scope
[INFO] [stdout]  --> src/main.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Parser)]
[INFO] [stdout]   |          ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `Parser` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]  --> src/main.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | use clap::{Parser, Subcommand};
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `command` in this scope
[INFO] [stdout]  --> src/main.rs:6:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[command(version, about, long_about = None)]
[INFO] [stdout]   |   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `arg` in this scope
[INFO] [stdout]   --> src/main.rs:12:7
[INFO] [stdout]    |
[INFO] [stdout] 12 |     #[arg(short, long, value_name = "FILE")]
[INFO] [stdout]    |       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `arg` in this scope
[INFO] [stdout]   --> src/main.rs:16:7
[INFO] [stdout]    |
[INFO] [stdout] 16 |     #[arg(short, long, action = clap::ArgAction::Count)]
[INFO] [stdout]    |       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `command` in this scope
[INFO] [stdout]   --> src/main.rs:19:7
[INFO] [stdout]    |
[INFO] [stdout] 19 |     #[command(subcommand)]
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Subcommand` in this scope
[INFO] [stdout]   --> src/main.rs:23:10
[INFO] [stdout]    |
[INFO] [stdout] 23 | #[derive(Subcommand)]
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `Subcommand` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]   --> src/main.rs:3:20
[INFO] [stdout]    |
[INFO] [stdout]  3 | use clap::{Parser, Subcommand};
[INFO] [stdout]    |                    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `arg` in this scope
[INFO] [stdout]   --> src/main.rs:28:11
[INFO] [stdout]    |
[INFO] [stdout] 28 |         #[arg(short, long)]
[INFO] [stdout]    |           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `parse` found for struct `Cli` in the current scope
[INFO] [stdout]   --> src/main.rs:34:20
[INFO] [stdout]    |
[INFO] [stdout]  7 | struct Cli {
[INFO] [stdout]    | ---------- associated function or constant `parse` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 34 |     let cli = Cli::parse();
[INFO] [stdout]    |                    ^^^^^ associated function or constant not found in `Cli`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following traits define an item `parse`, perhaps you need to implement one of them:
[INFO] [stdout]            candidate #1: `Parser`
[INFO] [stdout]            candidate #2: `TypedValueParser`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `bool` cannot be dereferenced
[INFO] [stdout]   --> src/main.rs:58:16
[INFO] [stdout]    |
[INFO] [stdout] 58 |             if *list {
[INFO] [stdout]    |                ^^^^^ can't be dereferenced
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0599, E0614.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `kook-sdk` (bin "kook-sdk" test) due to 9 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `kook-sdk` (bin "kook-sdk") due to 9 previous errors
[INFO] [stdout] error: cannot find derive macro `Parser` in this scope
[INFO] [stdout]  --> src/main.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Parser)]
[INFO] [stdout]   |          ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `Parser` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]  --> src/main.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | use clap::{Parser, Subcommand};
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `command` in this scope
[INFO] [stdout]  --> src/main.rs:6:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[command(version, about, long_about = None)]
[INFO] [stdout]   |   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `arg` in this scope
[INFO] [stdout]   --> src/main.rs:12:7
[INFO] [stdout]    |
[INFO] [stdout] 12 |     #[arg(short, long, value_name = "FILE")]
[INFO] [stdout]    |       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `arg` in this scope
[INFO] [stdout]   --> src/main.rs:16:7
[INFO] [stdout]    |
[INFO] [stdout] 16 |     #[arg(short, long, action = clap::ArgAction::Count)]
[INFO] [stdout]    |       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `command` in this scope
[INFO] [stdout]   --> src/main.rs:19:7
[INFO] [stdout]    |
[INFO] [stdout] 19 |     #[command(subcommand)]
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Subcommand` in this scope
[INFO] [stdout]   --> src/main.rs:23:10
[INFO] [stdout]    |
[INFO] [stdout] 23 | #[derive(Subcommand)]
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `Subcommand` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]   --> src/main.rs:3:20
[INFO] [stdout]    |
[INFO] [stdout]  3 | use clap::{Parser, Subcommand};
[INFO] [stdout]    |                    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `arg` in this scope
[INFO] [stdout]   --> src/main.rs:28:11
[INFO] [stdout]    |
[INFO] [stdout] 28 |         #[arg(short, long)]
[INFO] [stdout]    |           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `parse` found for struct `Cli` in the current scope
[INFO] [stdout]   --> src/main.rs:34:20
[INFO] [stdout]    |
[INFO] [stdout]  7 | struct Cli {
[INFO] [stdout]    | ---------- associated function or constant `parse` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 34 |     let cli = Cli::parse();
[INFO] [stdout]    |                    ^^^^^ associated function or constant not found in `Cli`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following traits define an item `parse`, perhaps you need to implement one of them:
[INFO] [stdout]            candidate #1: `Parser`
[INFO] [stdout]            candidate #2: `TypedValueParser`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `bool` cannot be dereferenced
[INFO] [stdout]   --> src/main.rs:58:16
[INFO] [stdout]    |
[INFO] [stdout] 58 |             if *list {
[INFO] [stdout]    |                ^^^^^ can't be dereferenced
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0599, E0614.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "a48055d2c02504429d763e878d5c5a898ac730e3981656793f7e2872947a0977", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a48055d2c02504429d763e878d5c5a898ac730e3981656793f7e2872947a0977", kill_on_drop: false }`
[INFO] [stdout] a48055d2c02504429d763e878d5c5a898ac730e3981656793f7e2872947a0977
